/*
 * Copyright © 2018 CODESTD.COM Inc. All rights reserved.
 */
package com.codestd.security.config;

import com.codestd.security.mapper.SysResourceMapper;
import com.codestd.security.mapper.SysRoleMapper;
import com.codestd.security.shiro.filter.DynamicShiroFilterFactoryBean;
import com.codestd.security.shiro.filter.RolePermissionAuthorizationFilter;
import com.codestd.security.shiro.filter.StatelessAuthenticationFilter;
import com.codestd.security.shiro.matcher.Md5CredentialsMatcher;
import com.codestd.security.shiro.realm.DatabaseRealm;
import com.codestd.security.shiro.realm.MemoryRolePermissionResolver;
import org.apache.shiro.authz.permission.RolePermissionResolver;
import org.apache.shiro.cache.CacheManager;
import org.apache.shiro.cache.ehcache.EhCacheManager;
import org.apache.shiro.mgt.SubjectFactory;
import org.apache.shiro.realm.Realm;
import org.apache.shiro.session.mgt.SessionManager;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import org.apache.shiro.web.filter.authc.LogoutFilter;
import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
import org.apache.shiro.web.mgt.DefaultWebSubjectFactory;
import org.apache.shiro.web.session.mgt.DefaultWebSessionManager;
import org.apache.shiro.web.subject.support.DefaultWebSubjectContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.servlet.Filter;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Shiro 配置
 *
 * @author jaune
 * @since 1.0.0
 */
@Configuration
public class StatelessShiroConfiguration {

}
